package com.wxyzz.canteencommon.entity.card.sale;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 代码敲烂 月薪过万 ---
 *
 * @author zhouhaoyu
 * @date 2024/10/11
 * @desc
 */
@Data
public class Sale {
    private Integer saleId; // id
    private String saleNumber; // 流水号
    private Integer memberId; // 会员号
    private Integer cardId; // 卡券id
    private Integer belongingStoreId; // 店铺id
    private Integer money; // 核销金额
    private String remark; // 备注
    private String salePeople; // 核销人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date saleTime; // 核销时间
    private String status; // 状态
}
